package com.homework.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Scope;

import java.util.Date;

/**
* @author HLQ
* @date 2024/10/1 12:52
*/

@Data
@Configuration
@AllArgsConstructor
@NoArgsConstructor
@Scope("singleton")
@Accessors(chain = true)
public class User {
    private int userId ;
    private String userName ;
    private String password ;
    private String salt ;
    private String nickname ;
    private String email ;
    private String phone ;
    private String sex ;
    private int age ;
    private String img  ;
    private Integer status ;
    private Date createTime ;
    private Date updateTime ;
    private Date lastLoginTime ;
}
